package com.zimin.cloud.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zimin.mapper.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 用户动态表
 * </p>
 *
 * @author zimin
 * @since 2022-06-14 15:53
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("mine_user_moments")
@ApiModel(value = "UserMoments对象", description = "用户动态表")
public class UserMoments extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("动态类型：0视频 1直播 2专栏动态")
    @TableField("type")
    private String type;

    @ApiModelProperty("内容详情id")
    @TableField("content_id")
    private String contentId;


}
